<?php
define('APP_DEBUG', true);
define('APP_ROOT','/');//站点安装目录
define('SITE_PATH',realpath(__DIR__.'/../').'/');
define('WEB_PATH',realpath(__DIR__.'/').'/');
define('WEB_DOMAIN',isset($_SERVER['HTTP_HOST']) ? 'http://'.strip_tags($_SERVER['HTTP_HOST']) : 'http://'.strip_tags($_SERVER['SERVER_NAME']));
define('RUNTIME_PATH',SITE_PATH . 'system/runtime/home/');
define('APP_NAME', 'home');
define('APP_PATH', '../application/home/');
require('../framework/ThinkPHP.php');
?>